package com.sky.service;

import com.sky.entity.AddressBook;

import java.util.List;

public interface AddressService {
    List<AddressBook> selectAddress();

    void addAddress(AddressBook addressBook);

    AddressBook selectDefaultAddress();

    void updateAddress(AddressBook addressBook);

    AddressBook selectAddressById(String id);

    void updateDefaultAddress(AddressBook addressBook);

    void deleteAddressById(String id);
}
